package enumerated;

//: enumerated/NonEnum.java

public class NonEnum {
	
	public static enum Food{A,B}

	public static void main(String[] args) {
		try {
			for (Object en : NonEnum.class.getEnumConstants())
				System.out.println(en);
		} catch (Exception e) {
			System.out.println(e);
		}
	}
} /*
 * Output: java.lang.NullPointerException
 */// :~
